package cn.edu.sptc.sms_chensiyi.dao;

import cn.edu.sptc.sms_chensiyi.entity.Major;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface MajorMapper {
    //增
    int insert(Major major);
    //删
    int delete(Long id);
    //改
    int update(Major major);

    //查询方法(查询所有信息)
    List<Major> selectALL();
    //查询（根据id查询信息）
    Major selectByID(Long id);
}
